AI SDK Kotlin
Toggle table of contents
0.3.0-alpha01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk.rsc
/
StreamableValueController
Streamable
Value
Controller
class
StreamableValueController
<
T
>
(
initialValue
:
T
?
=
null
)
Members
Constructors
Streamable
Value
Controller
Link copied to clipboard
constructor
(
initialValue
:
T
?
=
null
)
Properties
value
Link copied to clipboard
val
value
:
StreamableValue
<
T
>
Functions
done
Link copied to clipboard
suspend
fun
done
(
value
:
T
?
=
null
)
error
Link copied to clipboard
suspend
fun
error
(
throwable
:
Throwable
)
update
Link copied to clipboard
suspend
fun
update
(
value
:
T
)